#ifndef MYSTRING_H
#define	MYSTRING_H

#include "boolean.h"

typedef struct {
    char * kata;
    int length;
    int line;
} myKata;

boolean isSameBegin (myKata kataTemp);

boolean isSameEnd (myKata kataTemp);

boolean isSameIf (myKata kataTemp);

boolean isSameThen (myKata kataTemp);

boolean isSameElse (myKata kataTemp);

boolean isSameWhile (myKata kataTemp);

boolean isSameDo (myKata kataTemp);

boolean isSameRepeat (myKata kataTemp);

boolean isSameUntil (myKata kataTemp);

boolean isSameInput (myKata kataTemp);

boolean isSameOutput (myKata kataTemp);

boolean isSameOperasi (myKata kataTemp);

boolean isSameKomentar (myKata kataTemp);

boolean isSameCondition (myKata kataTemp);

void createEmpty (myKata * word);

boolean isNull(myKata kataTemp);

myKata getSubString (myKata temp, int start, int end);

boolean IsPembanding (myKata temp,int i);

boolean IsOperator (myKata temp, int i);

boolean IsAngka (myKata temp, int i);

boolean IsVariabel (myKata temp);

boolean IsVar (myKata temp);

void toLower (myKata * kataTemp);

boolean IsHurufBesar(myKata kata, int i);

boolean IsOperasi (myKata kataTemp);

#endif	/* MYSTRING_H */

